package com.iot.ic.service;

import com.iot.ic.model.IllegalResult;

import java.util.List;
import java.util.Map;

/**
 * Created by xiuge on 2017/2/20.
 */
public interface IllegalResultService {

	/**
	 *
	 * @param count
	 * @return
     */
	List<Map<String,Object>> getIllegalResultList(int count,int teamId,String startTime, String endTime );
	
	
	int addIllegalResult(IllegalResult illegalResult);
	
	
	List<IllegalResult> listIllegalResultByScenes(int scenesResultId);
	
	
	/**
	 * 删除违章行为结果
	 * @param illegalResultId
	 * @return
	 */
	int deleteIllegalResult(int illegalResultId);
	
	
	/**
	 * 删除违章行为结果
	 * @param illegalResultId
	 * @return
	 */
	int deleteIllegalResultByScenesResultId(int scenesResultId);

	/**
	 * 
	 * @param illegalResult
	 * @return
     */
	int modIllegalResult(IllegalResult illegalResult);
	
	
	Map<String,Object> getStadiumScenesByIllegal(int illegalResultId);
	
	
	/**
	 * 
	 * @param illegalResult
	 * @return
     */
	int insertIllegalResultBatch(List<IllegalResult> illegalResultList);


}
